<template>
    <div>
        <p>关注明星</p>
        <p>发现精彩</p>
        <p>寻找伙伴</p>
        <p>加入我们</p>
        <p>人名: {{ $route.query.name }} -- {{ $route.params.username }}</p>
    </div>
</template>

<script>

export default {
    mounted() {
        console.log(this.$route.query.name);
        console.log(this.$route.params.username);
    }
};

</script>

<style scoped></style>
